using System;
using System.Collections.Generic;
using VoiceAd.Models;

namespace VoiceAd.DAL
{
    public interface IDistrictRepository : IDisposable
    {
        IEnumerable<tblDistrict> GetListDistricts();
        IEnumerable<tblDistrict> GetListSearchDistricts(string DistrictName);
        IEnumerable<tblDistrict> GetByProvinceId(int lProvinceID);
        IEnumerable<tblDistrict> GetListDistricts(int idArea);
        tblDistrict GetDistrictById(int id);
        void InsDistrict(tblDistrict tbldistrict);
        void UpdDistrict(tblDistrict tbldistrict);
        void DelDistrict(int id);
    }
}
